<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>管理中心</title>
	<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="css/admin.css"/>
	<!-- 导入 Vue 3 -->
	<script src="https://unpkg.com/vue@next"></script>
	<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
	<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
<div id="panel">
	<!--
    	描述：左侧-头像、菜单
    -->
	<div id="left">
		<div id="menu">
			<p>后台管理<span>∨</span></p>
			<div>
				<div><a href="dataIndex.html"  target="content">大数据概览</a></div>
				<div><a href="userMgr.html" target="content">用户维护</a></div>
				<div><a href="userAdd.html"  target="content">添加用户</a></div>
				<div><a href="videoMgr.html"  target="content">视频维护</a></div>
				<div><a href="videoAdd.html"  target="content">上传视频</a></div>

			</div>


			<p>个人账户<span>∨</span></p>
			<div>
				<div><a href="changePwd.html"  target="content">修改密码</a></div>
				<div><a  id="back" @click="back()" >注销</a></div>
			</div>
		</div>
	</div>
	<!--
    	描述：右侧-内容显示区
    -->
	<div id="right">
		<div id="top">
			<div id="topTxt" >
				LookVideo后台管理界面
			</div>
		</div>
		<div id="center">
			<iframe src="dataIndex.html" name="content" width="100%" height="100%" frameborder="no"></iframe>
		</div>

	</div>
</div>
</body>
<script src="../js/jquery-1.8.0.js" type="text/javascript" charset="utf-8"></script>
<script src="js/admin.js" type="text/javascript" charset="utf-8"></script>
<!--<script>
// 页面加载完毕，显示用户头像 和 用户名
/*$(function(){
	var user = sessionStorage.getItem("user");
	if(null != user && '' != user){
		user = JSON.parse(user);
		if(user.yhtx != null && user.yhtx != ''){
			$("#yhtx").attr("src","/file/"+user.yhtx);
			$("#yhm1").html(user.yhm);
			$("#yhm2").html(user.yhm);
		}
	}else{
		location = "/eshop/index.html";	// user为空，说明未登录，回到主页面
	}
});*/
</script>-->
<script>
	Vue.createApp({
		methods:{
			back(){
				localStorage.removeItem("Manager",JSON.stringify(this.person))
				location = "loginVue.html";
			}
		}

	}).mount("#panel");

</script>
</html>
